package com.lty.jeeg.server.modules.fas.export;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.lty.jeeg.server.common.annotation.FieldName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author LTY
 */
@Data
public class GoodsExportEntity extends BaseRowModel implements Serializable {

    private static final long serialVersionUID = -3772421038503413206L;

    /**
     编码
     */
    @FieldName(value = "商品编码")
    @ExcelProperty(value ={"商品编码"},index = 0)
    private String code;

    /**
     商品名称
     */
    @FieldName(value = "商品名称")
    @ExcelProperty(value ={"商品名称"},index = 1)
    private String name;

    /**
     商品分类
     */
    @FieldName(value = "商品分类")
    @ExcelProperty(value ={"商品分类"},index = 2)
    private String categoryName;

    /**
     规格
     */
    @FieldName(value = "规格")
    @ExcelProperty(value ={"规格"},index = 3)
    private String specification;

    /**
     单位
     */
    @FieldName(value = "单位")
    @ExcelProperty(value ={"单位"},index = 4)
    private String unit;

    /**
     单价
     */
    @FieldName(value = "单价")
    @ExcelProperty(value ={"单价"},index = 5)
    private String unitPriceExport;

    /**
     是否常规物料
     */
    @FieldName(value = "是否常规物料")
    @ExcelProperty(value ={"是否常规物料"},index = 6)
    private String isCommonName;

    /**
     是否耗材
     */
    @FieldName(value = "是否耗材")
    @ExcelProperty(value ={"是否耗材"},index = 7)
    private String isConsumablesName;

    @FieldName(value = "备注")
    @ExcelProperty(value ={"备注"},index = 8)
    private String remark;


    private String failMsg; //导入失败信息

}
